﻿using FytSoa.Domain.Core.Result;

namespace FytSoa.Application.Sys;
/// <summary>
/// 系统安全配置
/// </summary>
public interface ISysSafetyService : IApplicationService
{
    /// <summary>
    /// 保存
    /// </summary>
    /// <param name="model"></param>
    /// <returns></returns>
    ApiResult<bool> Add(SafetySetting model);

    /// <summary>
    /// 查询
    /// </summary>
    /// <returns></returns>
    ApiResult<SafetySetting> Get();
}